package com.konke.sdslibrary.net.response;

public class BaseResp<T> {
    private boolean isSuccess;
    private String msg;
    private T data;
    private int errorCode;

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public void setData(T data) {
        this.data = data;

    }
}
